package util;

import java.sql.Date;
import java.text.ParseException;
import java.text.SimpleDateFormat;

public class DateUtil {
	public static Date convertStringToDateYYYYMMDD(String input) throws ParseException{
		Date date;
		SimpleDateFormat formatter = new SimpleDateFormat("yyyy MM dd");
		date = new java.sql.Date(formatter.parse(input).getTime());
		return date;
	}
}
